<?php

#<editor-fold defaultstate="collapsed" desc="start">
ini_set('max_execution_time', 10);
include 'core/core.php';
CCore::Using('logger.inline');
$oLogger = null;
#</editor-fold>
//$oLogger = new CCoreLoggerInline('<br />'."\r\n");

CCore::Using('db.mysql');

$oMySqlConfig = new CCoreDbMySqlConfig('localhost', 'root', '', 'db_name');
$oMySql = new CCoreDbMysql($oMySqlConfig, $oLogger);

$oMySql->Query('SELECT * FROM a_users');

echo '<pre>';
var_dump($oMySql->GetRecords(CCoreDbMysql::FETCH_TYPE_ARRAY));
